<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .panel {
            border: 1px solid;
            max-width: 300px;
        }
        .body {
            padding: 10px;
            border-bottom: 1px solid;
            border-top: 1px solid;
        }
        .header {
            padding: 10px;
        }
        .footer {
            padding: 10px;
        }
    </style>
</head>
<body>
    <div id="app">  
      <panel>
          <div slot="header">YOOYOOO</div>
          <div slot="content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Sequi eveniet laborum magnam vero enim nemo ex eligendi quam deleniti molestiae? Ex quisquam fuga voluptatum accusamus cupiditate blanditiis dolores. Magni, ad.</div>
        </panel>
        <panel></panel>
        <panel></panel>
        <panel></panel>
        <panel></panel>
        <panel></panel>
        <panel></panel>
        <panel></panel>
    </div>
    
</body>
<template id="panelTpl">
        <div class="panel">
                <div class="header">
                    <slot name="header"></slot>
                </div>
                <div class="body">
                    <slot name="content"></slot>
                </div>
                <div class="footer">
                    <slot name="footer">
                        更多信息
                    </slot>
                </div>
            </div>
    </template>
<script src="../lib/vue.js"></script>
<script src="js/main.js"></script>

</html>